<template>
  <div class="mobile-content">
    <form-edit ref="form" :form-data="form" />
  </div>
</template>

<script>
import FormEdit from "./FormEdit";
export default {
  name: "UserMobileEdit",
  components: { FormEdit },
  data() {
    return {
      form: {},
    };
  },
  mounted() {
    const route = this.$route;
    const { params } = route;
    if (Object.keys(params).length !== 0) {
      this.form = Object.assign({}, params);
    }
  },
};
</script>
